import Mock from "mockjs"

export function getColors() {
  let colorSet = new Set()
  for (let i=0; i<200; i++) {
    let color = Mock.Random.color()
    colorSet.add(color)
  }
  return Array.from(colorSet)
}

export function getRGBColors() {
  let colorSet = new Set()
  for (let i=0; i<200; i++) {
    let color = Mock.Random.rgb()
    colorSet.add(color)
  }
  return Array.from(colorSet)
}

export function getRGBAColors() {
  let colorSet = new Set()
  for (let i=0; i<200; i++) {
    let color = Mock.Random.rgba()
    colorSet.add(color)
  }
  return Array.from(colorSet)
}